package com.jxtti.dao;

import java.util.List;
import java.util.Map;

import com.jxtti.entity.SubjectAuth;
/**
 * 
 * <br>
 * <b>功能：</b>SubjectAuthDao<br>
 * <b>作者：lwb</b><br>
 * <b>日期：</b> Nov 26, 2015 <br>
 * <b>版权所有：<b>版权所有(C) 2015，<br>
 */
public interface SubjectAuthDao<T>  {
	
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>查询数据 <br>
	 */
	public List<SubjectAuth> queryByList(Map<String, Object> data);
	
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>ID查询<br>
	 */
	public SubjectAuth querySubjectAuthById(SubjectAuth  subjectAuth);
	
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>添加数据<br>
	 */
	public int add(SubjectAuth entity);
	
	
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>修改数据<br>
	 */
	public int update(SubjectAuth entity);
	
	
	/**
	 * 修改
	 * <br>
	 * <b>功能：</b>修改数据<br>
	 */
	public int updateBySelective(SubjectAuth entity);


	/**
	 * 
	 * <br>
	 * <b>功能：</b>删除数据<br>
	 */
	public int delete(SubjectAuth entity);
	
	public int deleteAuth(SubjectAuth subjectAuth);
	/**
	 * 
	 * <br>
	 * <b>功能：</b>查询总记录数<br>
	 */
	public int queryByCount(SubjectAuth entity);
}
